import request from './request'

/**
 * wxsdk权限验证配置
 * @export
 * @param {*} url
 * @returns
 */

export function getWXjssdkConfig(url) {
  return request({
    url: 'https://gdinfo.ruiinsurance.com/yxappointment/wxjssdk/config',
    method: 'get',
    params: { url }
  })
}
// admin/directorStatement
export function yb51Satement_directorsStatement(data) {
  return request({
    url: '/yb51/yb51Satement/directorsStatement',
    method: 'post',
    data
  })
}
export function yb51Satement_weeksList(data) {
  return request({
    url: '/yb51/yb51Satement/weeksList',
    method: 'post',
    data
  })
}
export function yb51Satement_getWeekByDate(data) {
  return request({
    url: '/yb51/yb51Satement/getWeekByDate',
    method: 'post',
    data
  })
}
// admin/managerSatement
export function yb51Satement_managerSatement(data) {
  return request({
    url: '/yb51/yb51Satement/managerSatement',
    method: 'post',
    data
  })
}
// export function yb51Satement_weeksList(data) {
//   return request({
//     url: '/yb51/yb51Satement/weeksList',
//     method: 'post',
//     data
//   })
// }
// export function yb51Satement_getWeekByDate(data) {
//   return request({
//     url: '/yb51/yb51Satement/getWeekByDate',
//     method: 'post',
//     data
//   })
// }
// admin/managerSatementDept
export function yb51Satement_managerSatementDept(data) {
  return request({
    url: '/yb51/yb51Satement/managerSatementDept',
    method: 'post',
    data
  })
}
// admin/saleManagerStatement
export function yb51Satement_saleManagerStatement(data) {
  return request({
    url: '/yb51/yb51Satement/saleManagerStatement',
    method: 'post',
    data
  })
}
// export function yb51Satement_weeksList(data) {
//   return request({
//     url: '/yb51/yb51Satement/weeksList',
//     method: 'post',
//     data
//   })
// }
// export function yb51Satement_getWeekByDate(data) {
//   return request({
//     url: '/yb51/yb51Satement/getWeekByDate',
//     method: 'post',
//     data
//   })
// }
// admin/saleManagerStatementDept
export function yb51Satement_saleManagerStatementDept(data) {
  return request({
    url: '/yb51/yb51Satement/saleManagerStatementDept',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/directorStatement/DailyList
export function yb51_directors_daily_record_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-directors-daily-record/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/directorStatement/MonthlyPlanList
export function yb51_file_record_getDirectorsPlanList(data) {
  return request({
    url: '/yb51/yb51-file-record/getDirectorsPlanList',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/directorStatement/MonthlyReportList
export function yb51_file_record_getDirectorsReportList(data) {
  return request({
    url: '/yb51/yb51-file-record/getDirectorsReportList',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/directorStatement/MonthProjectList
export function yb51_directors_month_project_record_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-directors-month-project-record/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/directorStatement/SeasonalStartList
export function yb51_file_record_getDirectorsStartList(data) {
  return request({
    url: '/yb51/yb51-file-record/getDirectorsStartList',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/directorStatement/WeeklyPreserveRecordList
export function yb51_directors_weekly_preserve_record_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-directors-weekly-preserve-record/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}

// admin/saleManagerStatementDept/recordList/managerSatement/CooperativeOfBranchesList

export function yb51_file_record_getManagerReportList(data) {
  return request({
    url: '/yb51/yb51-file-record/getManagerReportList',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/managerSatement/DailyTutoringRecordList

export function yb51_daily_tutoring_racord_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/managerSatement/LargeOrderRecordList

export function yb51_large_order_recored_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-large-order-recored/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/managerSatement/MicrosalonRecordList

export function yb51_microsalon_record_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-microsalon-record/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}

// admin/saleManagerStatementDept/recordList/managerSatement/MonthlyPlanList

export function yb51_file_record_getManagerMonthPlanList(data) {
  return request({
    url: '/yb51/yb51-file-record/getManagerMonthPlanList',
    method: 'post',
    data
  })
}

// admin/saleManagerStatementDept/recordList/managerSatement/WeeklyOutsideTrainingRecordList
export function yb51_weekly_outside_training_record_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-weekly-outside-training-record/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}

// admin/saleManagerStatementDept/recordList/managerSatement/WeeklyPreserveRecordList
// export function yb51_daily_tutoring_racord_getListByWeeksAndAgentCode(data) {
//   return request({
//     url: '/yb51/yb51-daily-tutoring-racord/getListByWeeksAndAgentCode',
//     method: 'post',
//     data
//   })
// }

// admin/saleManagerStatementDept/recordList/saleManagerStatement/DailyList

export function yb51_sales_manager_daily_record_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-sales-manager-daily-record/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/saleManagerStatement/MonthlyPlanList
export function yb51_file_record_getSaleManagerMonthPlanList(data) {
  return request({
    url: '/yb51/yb51-file-record/getSaleManagerMonthPlanList',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/saleManagerStatement/MonthlyReportList
export function yb51_file_record_getSaleManagerReportList(data) {
  return request({
    url: '/yb51/yb51-file-record/getSaleManagerReportList',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/saleManagerStatement/SeasonalStartList
export function yb51_sales_manager_seasonal_start_record_yb51SalesManagerSeasonalStartRecordList(
  data
) {
  return request({
    url: '/yb51/yb51-sales-manager-seasonal-start-record/yb51SalesManagerSeasonalStartRecordList',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/saleManagerStatement/WeekLargeOrderList
export function yb51_sales_manager_week_large_order_record_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-sales-manager-week-large-order-record/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}
// admin/saleManagerStatementDept/recordList/saleManagerStatement/WeekSalonList
export function yb51_sales_manager_week_salon_record_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-sales-manager-week-salon-record/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}

// CustomerManager/CooperativeOfBranches
export function yb51_file_record_saveEachForm(data) {
  return request({
    url: '/yb51/yb51-file-record/saveEachForm',
    method: 'post',
    data
  })
}
// CustomerManager/CooperativeOfBranchesList
// export function yb51_file_record_getManagerReportList(data) {
//   return request({
//     url: '/yb51/yb51-file-record/getManagerReportList',
//     method: 'post',
//     data
//   })
// }

// CustomerManager/DailyTutoring
export function yb51_daily_tutoring_racord_saveYb51DailyTutoringRacord(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/saveYb51DailyTutoringRacord',
    method: 'post',
    data
  })
}
// CustomerManager/DailyTutoringRecordList
export function yb51_daily_tutoring_racord_updateYb51DailyTutoringRacord(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/updateYb51DailyTutoringRacord',
    method: 'post',
    data
  })
}
export function yb51_daily_tutoring_racord_recentThreeDaysRecords(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/recentThreeDaysRecords',
    method: 'post',
    data
  })
}

// CustomerManager/LargeOrder
// export function yb51_large_order_recored_updateYb51DailyTutoringRacord(data) {
//   return request({
//     url: '/yb51/yb51-large-order-recored/updateYb51DailyTutoringRacord',
//     method: 'post',
//     data
//   })
// }
export function yb51_large_order_recored_saveYb51LargeOrderRecored(data) {
  return request({
    url: '/yb51/yb51-large-order-recored/saveYb51LargeOrderRecored',
    method: 'post',
    data
  })
}
// CustomerManager/LargeOrderRecordList
export function yb51_large_order_recored_updateYb51LargeOrderRecored(data) {
  return request({
    url: '/yb51/yb51-large-order-recored/updateYb51LargeOrderRecored',
    method: 'post',
    data
  })
}
export function yb51_large_order_recored_yb51LargeOrderRecoredList(data) {
  return request({
    url: '/yb51/yb51-large-order-recored/yb51LargeOrderRecoredList',
    method: 'post',
    data
  })
}

// CustomerManager/Microsalon
export function yb51_microsalon_record_saveYb51MicrosalonRecord(data) {
  return request({
    url: '/yb51/yb51-microsalon-record/saveYb51MicrosalonRecord',
    method: 'post',
    data
  })
}

// CustomerManager/MicrosalonRecordList
export function yb51_microsalon_record_updateYb51MicrosalonRecord(data) {
  return request({
    url: '/yb51/yb51-microsalon-record/updateYb51MicrosalonRecord',
    method: 'post',
    data
  })
}
export function yb51_microsalon_record_yb51MicrosalonRecordList(data) {
  return request({
    url: '/yb51/yb51-microsalon-record/yb51MicrosalonRecordList',
    method: 'post',
    data
  })
}
// CustomerManager/MonthlyPlan
// export function yb51_file_record_saveEachForm(data) {
//   return request({
//     url: '/yb51/yb51-file-record/saveEachForm',
//     method: 'post',
//     data
//   })
// }

// CustomerManager/MonthlyPlanList
// export function yb51_file_record_getManagerMonthPlanList(data) {
//   return request({
//     url: '/yb51/yb51-file-record/getManagerMonthPlanList',
//     method: 'post',
//     data
//   })
// }
// CustomerManager/WeeklyOutsideTraining
export function yb51_weekly_outside_training_record_saveYb51WeeklyOutsideTrainingRecord(data) {
  return request({
    url: '/yb51/yb51-weekly-outside-training-record/saveYb51WeeklyOutsideTrainingRecord',
    method: 'post',
    data
  })
}

// CustomerManager/WeeklyOutsideTrainingRecordList
export function yb51_weekly_outside_training_record_updateYb51WeeklyOutsideTrainingRecord(data) {
  return request({
    url: '/yb51/yb51-weekly-outside-training-record/updateYb51WeeklyOutsideTrainingRecord',
    method: 'post',
    data
  })
}
export function yb51_weekly_outside_training_record_recentYb51WeeklyOutsideTrainingRecordList(
  data
) {
  return request({
    url: '/yb51/yb51-weekly-outside-training-record/recentYb51WeeklyOutsideTrainingRecordList',
    method: 'post',
    data
  })
}

// CustomerManager/WeeklyPreserve
export function yb51_weekly_preserve_record_saveYb51WeeklyPreserveRecord(data) {
  return request({
    url: '/yb51/yb51-weekly-preserve-record/saveYb51WeeklyPreserveRecord',
    method: 'post',
    data
  })
}

// CustomerManager/WeeklyPreserveRecordList
export function yb51_weekly_preserve_record_updateYb51WeeklyPreserveRecord(data) {
  return request({
    url: '/yb51/yb51-weekly-preserve-record/updateYb51WeeklyPreserveRecord',
    method: 'post',
    data
  })
}

export function yb51_weekly_preserve_record_recentYb51WeeklyPreserveRecordList(data) {
  return request({
    url: '/yb51/yb51-weekly-preserve-record/recentYb51WeeklyPreserveRecordList',
    method: 'post',
    data
  })
}

// director/Daily
export function yb51_directors_daily_record_saveYb51DirectorsDailyRecord(data) {
  return request({
    url: '/yb51/yb51-directors-daily-record/saveYb51DirectorsDailyRecord',
    method: 'post',
    data
  })
}
// director/DailyList
export function yb51_directors_daily_record_updateYb51DirectorsDailyRecord(data) {
  return request({
    url: '/yb51/yb51-directors-daily-record/updateYb51DirectorsDailyRecord',
    method: 'post',
    data
  })
}
export function yb51_directors_daily_record_recentThreeDaysRecords(data) {
  return request({
    url: '/yb51/yb51-directors-daily-record/recentThreeDaysRecords',
    method: 'post',
    data
  })
}

// director/MonthlyPlan
// export function yb51_file_record_saveEachForm(data) {
//   return request({
//     url: '/yb51/yb51-file-record/saveEachForm',
//     method: 'post',
//     data
//   })
// }
// director/MonthlyPlanList
// export function yb51_file_record_getDirectorsPlanList(data) {
//   return request({
//     url: '/yb51/yb51-file-record/getDirectorsPlanList',
//     method: 'post',
//     data
//   })
// }

// director/MonthlyReport
// export function yb51_file_record_saveEachForm(data) {
//   return request({
//     url: '/yb51/yb51-file-record/saveEachForm',
//     method: 'post',
//     data
//   })
// }
// director/MonthlyReportList
// export function yb51_file_record_getDirectorsReportList(data) {
//   return request({
//     url: '/yb51/yb51-file-record/getDirectorsReportList',
//     method: 'post',
//     data
//   })
// }

// director/MonthProject
export function yb51_directors_month_project_record_saveYb51DirectorsMonthProjectRecord(data) {
  return request({
    url: '/yb51/yb51-directors-month-project-record/saveYb51DirectorsMonthProjectRecord',
    method: 'post',
    data
  })
}
// director/MonthProjectList
export function yb51_directors_month_project_record_updateYb51DirectorsMonthProjectRecord(data) {
  return request({
    url: '/yb51/yb51-directors-month-project-record/updateYb51DirectorsMonthProjectRecord',
    method: 'post',
    data
  })
}
export function yb51_directors_month_project_record_ybb51DirectorsMonthProjectRecordList(data) {
  return request({
    url: '/yb51/yb51-directors-month-project-record/ybb51DirectorsMonthProjectRecordList',
    method: 'post',
    data
  })
}

// director/saleManagerStatement
// export function yb51Satement_saleManagerStatement(data) {
//   return request({
//     url: '/yb51/yb51Satement/saleManagerStatement',
//     method: 'post',
//     data
//   })
// }
// export function yb51Satement_weeksList(data) {
//   return request({
//     url: '/yb51/yb51Satement/weeksList',
//     method: 'post',
//     data
//   })
// }
// export function yb51Satement_getWeekByDate(data) {
//   return request({
//     url: '/yb51/yb51Satement/getWeekByDate',
//     method: 'post',
//     data
//   })
// }

// director/SeasonalStart
// export function yb51_file_record_saveEachForm(data) {
//   return request({
//     url: '/yb51/yb51-file-record/saveEachForm',
//     method: 'post',
//     data
//   })
// }
// director/SeasonalStartList
// export function yb51_file_record_getDirectorsStartList(data) {
//   return request({
//     url: '/yb51/yb51-file-record/getDirectorsStartList',
//     method: 'post',
//     data
//   })
// }
// director/WeeklyPreserve
export function yb51_directors_weekly_preserve_record_saveYb51DirectorsWeeklyPreserveRecord(data) {
  return request({
    url: '/yb51/yb51-directors-weekly-preserve-record/saveYb51DirectorsWeeklyPreserveRecord',
    method: 'post',
    data
  })
}
// director/WeeklyPreserveRecordList
export function yb51_directors_weekly_preserve_record_updateYb51DirectorsWeeklyPreserveRecord(
  data
) {
  return request({
    url: '/yb51/yb51-directors-weekly-preserve-record/updateYb51DirectorsWeeklyPreserveRecord',
    method: 'post',
    data
  })
}
export function yb51_directors_weekly_preserve_record_recentYb51DirectorsWeeklyPreserveRecord(
  data
) {
  return request({
    url: '/yb51/yb51-directors-weekly-preserve-record/recentYb51DirectorsWeeklyPreserveRecord',
    method: 'post',
    data
  })
}

// director/recordList/DailyList
// export function yb51_sales_manager_daily_record_getListByWeeksAndAgentCode(data) {
//   return request({
//     url: '/yb51/yb51-sales-manager-daily-record/getListByWeeksAndAgentCode',
//     method: 'post',
//     data
//   })
// }
// director/recordList/MonthlyPlanList
export function yb51_file_record_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-file-record/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}
// director/recordList/MonthlyReportList
// export function yb51_file_record_getSaleManagerReportList(data) {
//   return request({
//     url: '/yb51/yb51-file-record/getSaleManagerReportList',
//     method: 'post',
//     data
//   })
// }

// director/recordList/SeasonalStartList
// export function yb51_sales_manager_seasonal_start_record_yb51SalesManagerSeasonalStartRecordList(data) {
//   return request({
//     url: '/yb51/yb51-sales-manager-seasonal-start-record/yb51SalesManagerSeasonalStartRecordList',
//     method: 'post',
//     data
//   })
// }
// director/recordList/WeekLargeOrderList
export function yb51_sales_manager_week_large_order_record_yb51SalesManagerSeasonalStartRecordList(
  data
) {
  return request({
    url: '/yb51/yb51-sales-manager-week-large-order-record/yb51SalesManagerSeasonalStartRecordList',
    method: 'post',
    data
  })
}
// director/recordList/WeekSalonList
export function yb51_sales_manager_week_salon_record_yb51SalesManagerSeasonalStartRecordList(data) {
  return request({
    url: '/yb51/yb51-sales-manager-week-salon-record/yb51SalesManagerSeasonalStartRecordList',
    method: 'post',
    data
  })
}

// SalesManager/Daily
export function yb51_sales_manager_daily_record_saveYb51SalesManagerDailyRecord(data) {
  return request({
    url: '/yb51/yb51-sales-manager-daily-record/saveYb51SalesManagerDailyRecord',
    method: 'post',
    data
  })
}
// SalesManager/DailyList
export function yb51_sales_manager_daily_record_updateYb51SalesManagerDailyRecord(data) {
  return request({
    url: '/yb51/yb51-sales-manager-daily-record/updateYb51SalesManagerDailyRecord',
    method: 'post',
    data
  })
}
export function yb51_sales_manager_daily_record_getRecentThreeDaysRecords(data) {
  return request({
    url: '/yb51/yb51-sales-manager-daily-record/getRecentThreeDaysRecords',
    method: 'post',
    data
  })
}

// SalesManager/managerSatement
// export function yb51Satement_managerSatement(data) {
//   return request({
//     url: '/yb51/yb51Satement/managerSatement',
//     method: 'post',
//     data
//   })
// }
// export function yb51Satement_weeksList(data) {
//   return request({
//     url: '/yb51/yb51Satement/weeksList',
//     method: 'post',
//     data
//   })
// }
// export function yb51Satement_getWeekByDate(data) {
//   return request({
//     url: '/yb51/yb51Satement/getWeekByDate',
//     method: 'post',
//     data
//   })
// }

// SalesManager/MonthlyPlan
// export function yb51_file_record_saveEachForm(data) {
//   return request({
//     url: '/yb51/yb51-file-record/saveEachForm',
//     method: 'post',
//     data
//   })
// }
// SalesManager/MonthlyPlanList
// export function yb51_file_record_getSaleManagerMonthPlanList(data) {
//   return request({
//     url: '/yb51/yb51-file-record/getSaleManagerMonthPlanList',
//     method: 'post',
//     data
//   })
// }

// SalesManager/MonthlyReport
// export function yb51_file_record_saveEachForm(data) {
//   return request({
//     url: '/yb51/yb51-file-record/saveEachForm',
//     method: 'post',
//     data
//   })
// }
// SalesManager/MonthlyReportList
// export function yb51_file_record_getSaleManagerReportList(data) {
//   return request({
//     url: '/yb51/yb51-file-record/getSaleManagerReportList',
//     method: 'post',
//     data
//   })
// }
// SalesManager/SeasonalStart
export function yb51_sales_manager_seasonal_start_record_saveYb51SalesManagerSeasonalStartRecord(
  data
) {
  return request({
    url: '/yb51/yb51-sales-manager-seasonal-start-record/saveYb51SalesManagerSeasonalStartRecord',
    method: 'post',
    data
  })
}
// SalesManager/SeasonalStartList
// export function yb51_sales_manager_seasonal_start_record_yb51SalesManagerSeasonalStartRecordList(data) {
//   return request({
//     url: '/yb51/yb51-sales-manager-seasonal-start-record/yb51SalesManagerSeasonalStartRecordList',
//     method: 'post',
//     data
//   })
// }

// SalesManager/WeekLargeOrder
export function yb51_sales_manager_week_large_order_record_saveYb51SalesManagerWeekLargeOrderRecord(
  data
) {
  return request({
    url: '/yb51/yb51-sales-manager-week-large-order-record/saveYb51SalesManagerWeekLargeOrderRecord',
    method: 'post',
    data
  })
}
// SalesManager/WeekLargeOrderList
export function yb51_sales_manager_week_large_order_record_updateYb51SalesManagerWeekLargeOrderRecord(
  data
) {
  return request({
    url: '/yb51/yb51-sales-manager-week-large-order-record/updateYb51SalesManagerWeekLargeOrderRecord',
    method: 'post',
    data
  })
}
export function yb51_sales_manager_week_large_order_record_recentYb51SalesManagerWeekLargeOrderRecordList(
  data
) {
  return request({
    url: '/yb51/yb51-sales-manager-week-large-order-record/recentYb51SalesManagerWeekLargeOrderRecordList',
    method: 'post',
    data
  })
}

// SalesManager/WeekSalon
export function yb51_sales_manager_week_salon_record_saveYb51SalesManagerWeekSalonRecord(data) {
  return request({
    url: '/yb51/yb51-sales-manager-week-salon-record/saveYb51SalesManagerWeekSalonRecord',
    method: 'post',
    data
  })
}
// SalesManager/WeekSalonList
export function yb51_sales_manager_week_salon_record_updateYb51SalesManagerWeekSalonRecord(data) {
  return request({
    url: '/yb51/yb51-sales-manager-week-salon-record/updateYb51SalesManagerWeekSalonRecord',
    method: 'post',
    data
  })
}
export function yb51_sales_manager_week_salon_record_recentYb51SalesManagerWeekSalonRecordList(
  data
) {
  return request({
    url: '/yb51/yb51-sales-manager-week-salon-record/recentYb51SalesManagerWeekSalonRecordList',
    method: 'post',
    data
  })
}

// SalesManager/recordList/CooperativeOfBranchesList
// export function yb51_file_record_getManagerReportList(data) {
//   return request({
//     url: '/yb51/yb51-file-record/getManagerReportList',
//     method: 'post',
//     data
//   })
// }

// SalesManager/recordList/DailyTutoringRecordList
// export function yb51_daily_tutoring_racord_getListByWeeksAndAgentCode(data) {
//   return request({
//     url: '/yb51/yb51-daily-tutoring-racord/getListByWeeksAndAgentCode',
//     method: 'post',
//     data
//   })
// }
// SalesManager/recordList/LargeOrderRecordList
// export function yb51_large_order_recored_getListByWeeksAndAgentCode(data) {
//   return request({
//     url: '/yb51/yb51-large-order-recored/getListByWeeksAndAgentCode',
//     method: 'post',
//     data
//   })
// }
// SalesManager/recordList/MicrosalonRecordList
export function yb51_microsalon_recored_getListByWeeksAndAgentCode(data) {
  return request({
    url: '/yb51/yb51-microsalon-recored/getListByWeeksAndAgentCode',
    method: 'post',
    data
  })
}

// SalesManager/recordList/MonthlyPlanList
export function yb51_file_recored_getManagerMonthPlanList(data) {
  return request({
    url: '/yb51/yb51-file-recored/getManagerMonthPlanList',
    method: 'post',
    data
  })
}

// SalesManager/recordList/WeeklyOutsideTrainingRecordList
// export function yb51_weekly_outside_training_record_getListByWeeksAndAgentCode(data) {
//   return request({
//     url: '/yb51/yb51-weekly-outside-training-record/getListByWeeksAndAgentCode',
//     method: 'post',
//     data
//   })
// }
// SalesManager/recordList/WeeklyPreserveRecordList
// export function yb51_daily_tutoring_racord_getListByWeeksAndAgentCode(data) {
//   return request({
//     url: '/yb51/yb51-daily-tutoring-racord/getListByWeeksAndAgentCode',
//     method: 'post',
//     data
//   })
// }

// 获取轮播图
export function getcarouselMapApi() {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/carouselMap',
    method: 'post'
  })
}

// todo 待完善
// 各种报表
/**
	 * 客户经理填写情况
	// @PostMapping("/saleManagerReport")
/**
 * 工号
 * 姓名
 * 中支
 * 职级
 * 日辅导
 * 周维护
 * 周外训
 * 月微沙
 * 月大单
 */
// @Data
// @Accessors(chain = true)
// public class SaleManagerReport {
// 	private String agentcode;
// 	private String name;
// 	private String branch;
// 	private String role;
// 	private int tutoring;
// 	private int preserve;
// 	private int training;
// 	private int salon;
// 	private int largeorder;
// }
export function saleManagerReport(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/saleManagerReport',
    method: 'post',
    data: data
  })
}

/**
 * 营业部经理填写情况
 *
 * @return 营业部经理填写情况
 */
// @PostMapping("/deptManagerReport")
// public CommonResult deptManagerReport(@RequestBody RequestData requestData) throws CommonException {
// 	if (StringUtils.isBlank(requestData.getAgentcode())) {
// 		throw new CommonException(NULL_PARAMETER);
// 	}
// 	return new CommonResult(yb51DailyTutoringRacordService.deptManagerReport(requestData.getAgentcode()));
// }
/**
 * 工号
 * 姓名
 * 中支
 * 职级
 * 日辅导
 * 周沙龙
 * 周大单
 */
// @Data
// @Accessors(chain = true)
// public class DeptManagerReport {
// 	private String agentcode;
// 	private String name;
// 	private String branch;
// 	private String role;
// 	private int tutoring;
// 	private int salon;
// 	private int largeorder;
// }
export function deptManagerReport(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/deptManagerReport',
    method: 'post',
    data: data
  })
}

/**
 * 某营业区经理下客户经理填写情况
 *
 * @return 某营业区经理下客户经理填写情况
 */
// @PostMapping("/saleManagerReport2")
// public CommonResult saleManagerReport2(@RequestBody RequestData requestData) throws CommonException {
// 	if (StringUtils.isBlank(requestData.getAgentcode())) {
// 		throw new CommonException(NULL_PARAMETER);
// 	}
// 	return new CommonResult(yb51DailyTutoringRacordService.saleManagerReport2(requestData.getAgentcode()));
// }
export function saleManagerReport2(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/saleManagerReport2',
    method: 'post',
    data: data
  })
}

/**
 * 总监填写情况
 *
 * @return 总监填写情况
 */
// @PostMapping("/directorsReport")
/**
 * 工号
 * 姓名
 * 中支
 * 职级
 * 日辅导
 * 周维护
 * 月项目
 */
// @Data
// @Accessors(chain = true)
// public class DirectorsReport {
// 	private String agentcode;
// 	private String name;
// 	private String branch;
// 	private String rank;
// 	private int tutoring;
// 	private int preserve;
// 	private int monthproject;
// }

export function directorsReport(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/directorsReport',
    method: 'post',
    data: data
  })
}

/**
 * 某总监下营业部经理填写情况
 *
 * @return 某总监下营业部经理填写情况
 */
// @PostMapping("/deptManagerReport2")
// public CommonResult deptManagerReport2(@RequestBody RequestData requestData) throws CommonException {
// 	if (StringUtils.isBlank(requestData.getAgentcode())) {
// 		throw new CommonException(NULL_PARAMETER);
// 	}
// 	return new CommonResult(yb51DailyTutoringRacordService.deptManagerReport2(requestData.getAgentcode()));
// }
export function deptManagerReport2(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/deptManagerReport2',
    method: 'post',
    data: data
  })
}

// 某总监下客户经理填写情况
// @PostMapping("/saleManagerReport4")
// public CommonResult saleManagerReport4(@RequestBody RequestData requestData) throws CommonException {
// 	if (StringUtils.isBlank(requestData.getAgentcode())) {
// 		throw new CommonException(NULL_PARAMETER);
// 	}
// 	return new CommonResult(yb51DailyTutoringRacordService.saleManagerReport4(requestData.getAgentcode()));
// }
export function saleManagerReport4(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/saleManagerReport4',
    method: 'post',
    data: data
  })
}

/**
 * 某督导下客户经理填写情况
 *
 * @return 某营业区经理下客户经理填写情况
 */
// @PostMapping("/saleManagerReport3")
// public CommonResult saleManagerReport3(@RequestBody RequestData requestData) throws CommonException {
// 	if (StringUtils.isBlank(requestData.getAgentcode())) {
// 		throw new CommonException(NULL_PARAMETER);
// 	}
// 	return new CommonResult(yb51DailyTutoringRacordService.saleManagerReport3(requestData.getAgentcode()));
// }
export function saleManagerReport3(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/saleManagerReport3',
    method: 'post',
    data: data
  })
}

/**
 * 某督导下营业部经理填写情况
 *
 * @return 某督导下营业部经理填写情况
 */
// @PostMapping("/deptManagerReport3")
// public CommonResult deptManagerReport3(@RequestBody RequestData requestData) throws CommonException {
// 	if (StringUtils.isBlank(requestData.getAgentcode())) {
// 		throw new CommonException(NULL_PARAMETER);
// 	}
// 	return new CommonResult(yb51DailyTutoringRacordService.deptManagerReport3(requestData.getAgentcode()));
// }

export function deptManagerReport3(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/deptManagerReport3',
    method: 'post',
    data: data
  })
}

/**
 * 某督导下总监填写情况
 *
 * @return 某督导下总监填写情况
 */
// @PostMapping("/directorsReport3")
// public CommonResult directorsReport3(@RequestBody RequestData requestData) throws CommonException {
// 	if (StringUtils.isBlank(requestData.getAgentcode())) {
// 		throw new CommonException(NULL_PARAMETER);
// 	}
// 	return new CommonResult(yb51DailyTutoringRacordService.directorsReport3(requestData.getAgentcode()));
// }

export function directorsReport3(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/directorsReport3',
    method: 'post',
    data: data
  })
}

/**
 * 客户经理一日三辅导上周榜单
 *
 * @return 客户经理一日三辅导上周榜单
 */
// @PostMapping("/saleManagerTutoringTop")
// public CommonResult saleManagerTutoringTop() {
// 	return new CommonResult(yb51DailyTutoringRacordService.saleManagerTutoringTop());
// }

/**
 * 工号
 * 姓名
 * 中支
 * 数量
 */
// @Data
// public class TopList {
// 	private String agentcode;
// 	private String name;
// 	private String branch;
// 	private int counts;
// }

export function saleManagerTutoringTop(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/saleManagerTutoringTop',
    method: 'post',
    data: data
  })
}

/**
 * 客户经理一周一维护上周榜单
 *
 * @return 客户经理一周一维护上周榜单
 */
// @PostMapping("/saleManagerPreserveTop")
// public CommonResult saleManagerPreserveTop() {
// 	return new CommonResult(yb51DailyTutoringRacordService.saleManagerPreserveTop());
// }
export function saleManagerPreserveTop(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/saleManagerPreserveTop',
    method: 'post',
    data: data
  })
}

/**
 * 客户经理一周一外训上周榜单
 *
 * @return 客户经理一周一外训上周榜单
 */
// @PostMapping("/saleManagerTrainingTop")
// public CommonResult saleManagerTrainingTop() {
// 	return new CommonResult(yb51DailyTutoringRacordService.saleManagerTrainingTop());
// }
export function saleManagerTrainingTop(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/saleManagerTrainingTop',
    method: 'post',
    data: data
  })
}

/**
 * 营业部经理一日三走访上周榜单
 * @return 营业部经理一日三走访上周榜单
 */
// @PostMapping("/deptManagerTutoringTop")
// public CommonResult deptManagerTutoringTop(){
// 	return new CommonResult(yb51DailyTutoringRacordService.deptManagerTutoringTop());
// }
export function deptManagerTutoringTop(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/deptManagerTutoringTop',
    method: 'post',
    data: data
  })
}

/**
 * 营业部经理一周一微沙上周榜单
 * @return 营业部经理一周一微沙上周榜单
 */
// @PostMapping("/deptManagerSalonTop")
// public CommonResult deptManagerSalonTop(){
// 	return new CommonResult(yb51DailyTutoringRacordService.deptManagerSalonTop());
// }
export function deptManagerSalonTop(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/deptManagerSalonTop',
    method: 'post',
    data: data
  })
}

/**
 * 营业部经理一周一大单上周榜单
 */
// @PostMapping("/deptManagerLargeorderTop")
// public CommonResult deptManagerLargeorderTop(){
// 	return new CommonResult(yb51DailyTutoringRacordService.deptManagerLargeorderTop());
// }
export function deptManagerLargeorderTop(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/deptManagerLargeorderTop',
    method: 'post',
    data: data
  })
}

/**
 * 总监一日三走访上周榜单
 * @return 总监一日三走访上周榜单
 */
// @PostMapping("/directorsTutoringTop")
// public CommonResult directorsTutoringTop(){
// 	return new CommonResult(yb51DailyTutoringRacordService.directorsTutoringTop());
// }
export function directorsTutoringTop(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/directorsTutoringTop',
    method: 'post',
    data: data
  })
}

/**
 * 总监一周一维护上周榜单
 * @return 总监一周一维护上周榜单
 */
// @PostMapping("/directorsPreserveTop")
// public CommonResult directorsPreserveTop(){
// 	return new CommonResult(yb51DailyTutoringRacordService.directorsPreserveTop());
// }
export function directorsPreserveTop(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/directorsPreserveTop',
    method: 'post',
    data: data
  })
}

/**
 * 总监一月一项目上月榜单
 * @return 总监一月一项目上月榜单
 */
// @PostMapping("/directorsMonthprojectTop")
// public CommonResult directorsMonthprojectTop(){
// 	return new CommonResult(yb51DailyTutoringRacordService.directorsMonthprojectTop());
// }
export function directorsMonthprojectTop(data) {
  return request({
    url: '/yb51/yb51-daily-tutoring-racord/directorsMonthprojectTop',
    method: 'post',
    data: data
  })
}

// ============ 分析图片人数、时间、地点等信息模块开始
// 统一的图片上传，返回图片文件名，res.data，`https://gdinfo.ruiinsurance.com/${res.data}`,拼接后直接访问
export function gdrzapiUpload(data) {
  return request({
    url: `https://gdinfo.ruiinsurance.com/gdrzapi/qj/file/upload`,
    method: 'post',
    data
  })
}
// 分析图片人数、时间、地点等信息
// data = {
//  imageUrl: 'https://gdinfo.ruiinsurance.com/${res.data}'
// }
// 返回： {
//     "allTexts": [], // 所有文字
//     "dates": [], // 所有日期
//     "error": null,
//     "faceCount": 12, // 人数
//     "locations": [],  // 所有地点
//     "success": true
// }
export function getNumberOfParticipants(data) {
  return request({
    url: 'http://1.12.241.183:9302/api/analyze',
    method: 'post',
    data
  })
}
// 保存分析后的图片人数、时间、地点等信息
// data = {
//   "agentcode": "string",
//   "allTexts": [
//     "string"
//   ],
//   "dates": [
//     "string"
//   ],
//   "faceCount": 0,
//   "locations": [
//     "string"
//   ],
//   "url": "string"
// }
export function saveAnalyzeImageInfoUsingPOST(data) {
  return request({
    url: 'http://10.58.1.55:8081/swagger-ui.html#/yb-51-analyze-image-info-controller/saveAnalyzeImageInfoUsingPOST',
    method: 'post',
    data
  })
}

// ============ 分析图片人数、时间、地点等信息模块结束
